package com.baijia.web.constant;

/**
 * Created by dudu on 16/9/10.
 */
public class Const {
    public static final String UUID = "uuid";

    public static final String SCAN_QRCODE_SUCCESS = "scan_success";

    public static Integer QRCODE_LIVE_TIME = 90;

    public static final String USERNAME = "username";

    public static final String APPID = "app_id";

    public static final String QRCODE_REDIRECT_SUFFIX = "/view/m/loginDispatcher.html?from=org&uuid=";

    public static final int IMG_SIZE = 120;

    public static final int MAX_RETRIES = 3;

    public static final int BLOCK_IN_SECONDS = 3600;

    public static final String LOGIN_COUNT_SUFFIX = "_login_fail_times";

    public static final String LOGIN_LOG_SUFFIX = "_login_log";

    public static final String LOGIN_FAIL_TIMES = "login_fail_times";

    public static final String LOGIN_CLIENT_IP = "_login_client_ip_";

    public static final String REDIRECT_URL = "redirect_url";

    public static final int LOG_EXPIRE = 30;

    public static final int CAPTCHA_EXPIRE = 5 * 60;

    public static final String CONST_PASSPORT_FAILED_DEPTH = "_user_const_passport_failed_depth_";
}
